package com.cj.cms.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.cj.cms.dao.security.TemplateDao;
import com.cj.cms.entity.Template;
import com.cj.common.orm.hibernate.EntityManager;

@Service
@Transactional
public class TemplateManager extends EntityManager<Template, Long> {
	@Autowired
	TemplateDao templateDao;
	
	@Override
	protected TemplateDao getEntityDao() {
		return templateDao;
	}

}
